cc6337
@@ -1706,8 +1706,7 @@
private boolean canSpecializeMapJoin(Operator<? extends OperatorDesc> op, MapJoi
           // With the fast hash table implementation, we currently do not support
           // Hybrid Grace Hash Join.
 
-          if (HiveConf.getBoolVar(hiveConf,
-              HiveConf.ConfVars.HIVEUSEHYBRIDGRACEHASHJOIN)) {
+          if (desc.isHybridHashJoin()) {
             specialize = false;
           }
         }
